<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DeviceChangeObserver.onAudioDeviceChanged - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.device</a>&nbsp;/&nbsp;<a href="index.html">DeviceChangeObserver</a>&nbsp;/&nbsp;<a href="./on-audio-device-changed.html">onAudioDeviceChanged</a><br/>
<br/>
<h1>onAudioDeviceChanged</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.device.DeviceChangeObserver$onAudioDeviceChanged(kotlin.collections.List((com.amazonaws.services.chime.sdk.meetings.device.MediaDevice)))"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">onAudioDeviceChanged</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.device.DeviceChangeObserver$onAudioDeviceChanged(kotlin.collections.List((com.amazonaws.services.chime.sdk.meetings.device.MediaDevice)))/freshAudioDeviceList">freshAudioDeviceList</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../-media-device/index.html"><span class="identifier">MediaDevice</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Called when audio devices are changed.</p>
<p>Note: this callback will be called on main thread.</p>
<h3>Parameters</h3>
<p><a name="freshAudioDeviceList"></a>
<code>freshAudioDeviceList</code> - : List&lt;<a href="../-media-device/index.html">MediaDevice</a>&gt; - An updated list of audio devices.</p>
</BODY>
</HTML>
